import xadmin

from yisheng.models import User_Sites,User,Contract






class UserAdmin(object):
    list_display = ('id', 'create_name')
    list_filter = ['create_name']
    list_per_page = 20

class ContractAdmin(object):
    list_display = ('id','sys_company_code','expire_date', 'service_cycle','service_price','ad_online_date','ad_offline_date')
    list_filter = ['id']
    list_per_page = 20







# xadmin.site.register(User,UserAdmin)
# xadmin.site.register(Contract,ContractAdmin)

